﻿@using FL.SiteEntity;
@using FL.Common;
@using FL.Bussiness.Site;
@{
    var isLogin = (Session["User"] == null);
    int pagesize = Model.pagesize;
    string code = Model.code;
    string type = Model.type;
    IList<v_t_site_article> list = BArticle.CreateInstance().GetImagesArticleList(code, "", pagesize, 1);
}

@if (list != null)
{
    <div class="row" style="margin-top:5px;">
        <div style="border-bottom:1px solid #ccc;margin-bottom:15px;padding-left:10px;margin-left:15px;"><h4>@Model.title</h4></div>
        @foreach (v_t_site_article article in list)
        {
            <div class="col-lg-6">
                <div class="row">
                    <div class="col-lg-5"><img src="@article.img_url" style="width:100%" /></div>
                    <div class="col-lg-7">
                        <p class=""><h5><a href="/Article/ArticleView?id=@article.id">@article.title</a></h5></p>
                        <p class="contentCent"><a href="">@article.zhaiyao.lenString(26)......</a></p>
                        <p class="contenticon">
                            <span class="fl"><img src="/images/img/calendar.png" alt=""></span><span class="Spanmar">@article.add_time.ToShortDateString()&nbsp;&nbsp;</span>
                            <span class="fl"><img src="/images/img/message.png" alt=""></span><span class="Spanmar">@article.read_count&nbsp;&nbsp;</span>
                            <span class="fl"><img src="/images/img/eyes.png" alt=""></span><span class="Spanmar">@article.read_count</span>
                        </p>
                    </div>
                </div>
            </div>
       }
    </div>
}
